home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_100
/
144_01
/
words.hlp
< prev
Wrap
Text File
|
1985-08-19
|
2KB
|
50 lines
**********************************************************************
* WORDS *
**********************************************************************
* COPYRIGHT 1983 EUGENE H. MALLORY *
**********************************************************************
PROGRAM:
WORDS - Separate input into one word per line.
USAGE:
WORDS [<fid] [-N] [-Ln] [-H] [>fid]
FUNCTION:
This puts "words" from input onto separate output lines.
There are some options useful in setting up cross-references
and indexes. These are:
-N Prefixes the word with a 7 digit line/page number
and a space.
-Ln Sets the "page" length. The default is 1. If n is
1, it causes the number to be the line number. If n is
the page size (e.g. 66), it causes the number to be the
page number.
-H Displays the available options.
EXAMPLE:
WORDS <FILE
WORDS <FILE |SORT |UNIQUE -N |SORT -R -L7 |2UP -L22 -N4
{Gives a word frequency count for file.}
BUGS:
The definition of a "word" is simplistic. Any string of
alphabetic characters will do.
Command Line
___________________________________
|
|
| OPTIONS
|
|
______________V______________
Standard Input | | Standard Output
TEXT | | WORDS (WITH NUMBERS)
------------------->| WORDS |----------------------->
| |
| |
|___________________________|